package com.teacher.service;

import com.teacher.entity.TeacherComments;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

// 评价信息
@Service
public interface TeacherCommentsService {
    // Excel导入
    String uploadCommentsOfExcel(@RequestParam("file") MultipartFile file,
                                 @RequestParam("academicYear") String academicYear,@RequestParam("type") String type);
    // 增加
    TeacherComments addTeacherComments(TeacherComments teacherComments);
    // 查看详情
    TeacherComments getDetailsById(String id);
    // 根据条件分页查询
    Page<TeacherComments> specificPageQueryTeacherCommentsList(TeacherComments teacherComments, int page, int size);
    // 根据ID删除
    void deleteTeacherComments(String id);
    // 根据ID批量删除
    void deleteTeacherCommentsList(String idList);
}
